package com.unsiv.helicopter;

import android.app.Activity;
import android.content.pm.ActivityInfo;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.Window;
import android.view.WindowManager;
import android.webkit.WebView;
import android.widget.ImageView;
/**
 * <p>软件信息</p>
 * @author fanzhen
 * @time   11:35:02 AM Oct 25, 2011
 * @email  fanzhen.meng@gmail.com
 * @qq     474146502
 * @phone  13953109657
 */
public class InfoActivity extends Activity {
	private ImageView buttonBack;
	private WebView wv;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		this.requestWindowFeature(Window.FEATURE_NO_TITLE);
		getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,   
				WindowManager.LayoutParams.FLAG_FULLSCREEN);
		setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE);
		setContentView(R.layout.info);
		buttonBack = (ImageView)findViewById(R.id.infoButtonBack);
		buttonBack.setOnClickListener(new OnClickListener() {
			@Override
			public void onClick(View arg0) {
				onBackPressed();
			}
		});
		wv = (WebView)findViewById(R.id.infoWebView);
		wv.loadUrl("http://www.ekong.net.cn/RC_partner.html");
	}
}
